package com.github.edu.repair.manager.domain;

import com.github.admin.edu.orm.repository.CustomRepository;
import com.github.edu.repair.manager.entity.TBxLyqy;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * user:wangj
 * date:2018/8/20
 * Time: 21:58
 */
public interface LyqyServerDomain extends CustomRepository<TBxLyqy,Integer> {

    @Query("select t from TBxLyqy t where t.sfqy = 1 ")
    List<TBxLyqy> getAllBySfqy();

}
